package com.pactera.elasticsearch.bean;

import com.pactera.elasticsearch.commons.BaseObject;

/**
 * @author: liqingdian
 **/
public class Range extends BaseObject {

    private static final long serialVersionUID = 8687297276645478139L;
    private String name;
    private String gte;
    private String lte;
    private String format;
    /** 1:must,2:filter,3:should,4:must_not */
    private Integer matched = 2;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGte() {
        return gte;
    }

    public void setGte(String gte) {
        this.gte = gte;
    }

    public String getLte() {
        return lte;
    }

    public void setLte(String lte) {
        this.lte = lte;
    }

    public String getFormat() {
        return format;
    }

    public void setFormat(String format) {
        this.format = format;
    }

    public Integer getMatched() {
        return matched;
    }

    public void setMatched(Integer matched) {
        this.matched = matched;
    }
}
